body {
    font-family: "Microsoft YaHei";
    font-size: 16px;
}
.clearfix {
    zoom: 1;
}

.clearfix:after {
    display: block;
    height: 0;
    clear: both;
    content: '.';
    visibillity: hidden;
}
.list li {
    line-height: 30px;
    margin-top: 10px;
}
.list .title {
    float: left;
}
.list .date {
    float: right;
}
/*demo1*/
.demo1 {
    position: relative; /*兼容ie7*/
    width: 400px;
    height: 240px;
    overflow: hidden;
}

/*demo2*/
.demo2 {
    width: 600px;
    height: 100px;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}
.list2 li {
    float: left;
    width: 100px;
    height: 100px;
    margin-right: 20px;
    text-align: center;
    font-size: 20px;
    color: #fff;
    line-height:100px;
    background-color: #ccc;
}